<!DOCTYPE html> 
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}" />
<title>办公用品申领</title>

<!-- <style type="text/css">
	#displayyin {
	width: 500px;
	height: 400px;
	z-index: 1000;
	position: fixed;
	top: 50%;
	margin-top: -150px;
	left: 50%;
	margin-left: -300px;
	background: #fff;
	border: 1px solid rgba(39, 38, 38, 0.31);
	border-radius: 10px;
	padding: 15px;
	box-shadow: 2px 2px 5px #333333;
}
</style> -->
</head>
<body>
<div class="container" style="width: 100%;padding: 25px 15px;">
    <div class="row clearfix">
        <div class="col-md-12 column" style="padding: 20px;">
            <div style="float: left;">
                 <a th:href="@{/addGoods_claim}"><input type="button" class="btn btn-primary btn" value="添加"  onclick="displayxian()"/></a>
            	  <!-- <input type="button" class="btn btn-primary btn" value="添加"  onclick="displayxian()"/> -->
            </div>
             <form th:action="@{/selectGoods_claims}" method="get" id="userForm" role="form" class="form-inline" style="float: right;margin-bottom: 10px;">
                <div class="form-group" style="margin-right: 20px;">
                	 
                     <label for="exampleInputEmail1" style="margin-right: 10px;">姓名</label><input type="text" class="form-control" id="realName" name="realName" placeholder="姓名"/>
                </div>
               <button type="button" class="btn btn-primary btn" onclick="showGoods_claim()">查询</button>
                <!-- <input type="submit" value="查询"/> -->
            </form>
            
<!-- <div id="displayyin" style="display: none;">
   <form th:action="@{/add}" method="post">
    
	员工编号<input type="text" name="id">[[${id}]]<br/>
	申领物品<input type="text" name="gc_name"/><br/>
	申领物品<select name="gc_name">
				<option th:each="goodsRepository:${goodsRepositorys}"
					th:text="${goodsRepository.gr_name}"
					th:selected="${goodsRepository.gr_name}"/>
			</select><br/>
	申领数量<input type="text" name="gc_number">[[${gc_number}]]<br/>
	申领时间<input type="text" name="gc_time" id="signInStr">[[${gc_time}]]<br/>
	申领状态<input type="text" name="gc_status" >[[${gc_status}]]<br/>
	<input type="submit" value="添加"/>
   </form>
</div> -->
            
            <table class="table table-bordered" style="margin-top: 20px;">
                <!-- <thead>
                    <tr>
                        <th style="width: 150px;">姓名</th>
                        <th>申领时间</th>
                        <th>申领物品</th>
                        <th>审批状态</th>
                        <th style="width: 150px;">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="success">
                        <td>猎鹰</td>
                        <td>2014-04-01 14:00:00</td>
                        <td>Ak-47</td>
                        <td>未审批</td>
                        <td>
                           <a href="#" class="btn btn-primary btn"  onclick="operation()">修改</a>
                           <a href="#" class="btn btn-primary btn"  onclick="operation()">删除</a>
                        </td>
                    </tr>
                     <tr>
                        <td>飞虎</td>
                        <td>2014-04-04 10:00:00</td>
                        <td>洲际导弹</td>
                        <td>已审批</td>
                        <td>
                           <a href="#" class="btn btn-primary btn"  onclick="operation()">修改</a>
                           <a href="#" class="btn btn-primary btn"  onclick="operation()">删除</a>
                        </td>
                    </tr>
                    <tr class="success">
                        <td>雄狮</td>
                        <td>2014-04-11 16:00:00</td>
                        <td>单兵火箭筒</td>
                        <td>已审批</td>
                        <td>
                           <a href="#" class="btn btn-primary btn"  onclick="operation()">修改</a>
                           <a href="#" class="btn btn-primary btn"  onclick="operation()">删除</a>
                        </td>
                    </tr>
                </tbody> -->
            </table>
            <div id="customers"></div>

        </div>
    </div>
</div>

<!-- <script type="text/javascript" th:src="@{/laydate/laydate.js}"></script> 
 <script>
	lay('#version').html('-v'+ laydate.v);

	//执行一个laydate实例
	laydate.render({
		elem: '#signInStr' ,//指定元素
		/* format: 'yyyy-MM-dd HH:mm:ss' */
	});

</script>
<script type="text/javascript">
	var display1=document.getElementById("displayyin");
	function displayxian(){
		if(display1.style.display=='none'){
			display1.style.display='block';
		}else{
			display1.style.display='none';
		}
	}
</script> -->

</body>
<script type="text/javascript" th:src="@{/js/jquery-2.2.3.min.js}"></script>
<script type="text/javascript" th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/js/officeApply.js}"></script>

</html>